package com.zzh.bc.model;

import com.zzh.bc.annotations.HColumn;

/**
 * 项目简介
 */
public class ProjectModel {
    public static final String TABLE_NAME = "zh_project";
    public static final String SQL_COLUMN_NAME = "project_id, project_name,create_user_id, project_details,project_cover,project_base_url,created_by,created_time,updated_by,updated_time";
    public static final String SQL_COLUMN_PARAMS = "?, ?,?, ?,?,?,?,?,?,?";

    /**
     * 主键
     */
    @HColumn(columnName = "project_id")
    private String projectId;
    /**
     * 项目名称
     */
    @HColumn(columnName = "project_name")
    private String projectName;
    /**
     * 创建人ID
     */
    @HColumn(columnName = "create_user_id")
    private String createUserId;
    /**
     * 项目简介
     */
    @HColumn(columnName = "project_details")
    private String projectDetails;
    /**
     * 项目封面
     */
    @HColumn(columnName = "project_cover")
    private String projectCover;
    /**
     * 项目接口URL地址
     */
    @HColumn(columnName = "project_base_url")
    private String projectBaseUrl;
    /**
     * 创建人
     */
    @HColumn(columnName = "created_by")
    private String createdBy;
    /**
     * 创建时间
     */
    @HColumn(columnName = "created_time")
    private Long createdTime;
    /**
     * 更新人
     */
    @HColumn(columnName = "updated_by")
    private String updatedBy;
    /**
     * 更新时间
     */
    @HColumn(columnName = "updated_time")
    private Long updatedTime;


    public String getProjectId() {
        return projectId == null ? "" : projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public String getProjectName() {
        return projectName == null ? "" : projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getCreateUserId() {
        return createUserId == null ? "" : createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId;
    }

    public String getProjectDetails() {
        return projectDetails == null ? "" : projectDetails;
    }

    public void setProjectDetails(String projectDetails) {
        this.projectDetails = projectDetails;
    }

    public String getProjectCover() {
        return projectCover == null ? "" : projectCover;
    }

    public void setProjectCover(String projectCover) {
        this.projectCover = projectCover;
    }

    public String getProjectBaseUrl() {
        return projectBaseUrl == null ? "" : projectBaseUrl;
    }

    public void setProjectBaseUrl(String projectBaseUrl) {
        this.projectBaseUrl = projectBaseUrl;
    }

    public String getCreatedBy() {
        return createdBy == null ? "" : createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Long getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Long createdTime) {
        this.createdTime = createdTime;
    }

    public String getUpdatedBy() {
        return updatedBy == null ? "" : updatedBy;
    }

    public void setUpdatedBy(String updatedBy) {
        this.updatedBy = updatedBy;
    }

    public Long getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Long updatedTime) {
        this.updatedTime = updatedTime;
    }
}
